if (tableau[row].getcardcount() < 14) and ((tableau[row].getcardcount() + extras.count) <= 14) then
if tableau[row].getcardcount() > 0 then
if extras.count = 0 then
if (getlist.getlastcard().rankvalue = (tableau[row].getlastcard().rankvalue - 1)) and (getlist.getlastcard().suitcolor <> tableau[row].getlastcard().suitcolor) then
equal = 1
godlist = tableau[row]
currentsel = tableau[row].getlastcard().spnum + 1
end if
else
if (getlist.cards[dimpos].rankvalue = (tableau[row].getlastcard().rankvalue - 1)) and (getlist.cards[dimpos].suitcolor <> tableau[row].getlastcard().suitcolor) then